package com.lishiots.cloud.datacenter.middleware.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.lishiots.cloud.datacenter.middleware.dao.DocumentMapper;
import com.lishiots.cloud.datacenter.middleware.dao.UserMapper;
import com.lishiots.cloud.datacenter.middleware.entity.Document;
import com.lishiots.cloud.datacenter.middleware.entity.User;
import com.lishiots.cloud.datacenter.middleware.req.DocumentQueryRequest;
import com.lishiots.cloud.datacenter.middleware.resp.DocumentResponse;
import com.lishiots.cloud.datacenter.middleware.service.DocumentService;
import com.lishiots.cloud.datacenter.middleware.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Created by Chaofan at 2018-11-19 13:38
 * email:chaofan2685@qq.com
 **/
@Service
public class DocumentServiceImpl extends ServiceImpl<DocumentMapper,Document> implements DocumentService {

    @Autowired
    DocumentMapper documentMapper;

    @Override
    public List<DocumentResponse> queryPage(DocumentQueryRequest request) {
        return documentMapper.queryPage(request);
    }
}
